package cn.jbolt.ai.resource.llm.controller;


import cn.jbolt.ai.resource.llm.service.AiModelTypeService;
import cn.jbolt.util.Result;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * ai资源枚举类管理
 */
@Controller
@ResponseBody
@RequestMapping("/aiModelType")
@Tag(name = "ai资源枚举类管理Controller")
public class AIModelTypeController {

    @Autowired
    private AiModelTypeService aiModelTypeService;


    @Operation(summary = "获取所有AI模型类型", description = "获取所有AI模型类型")
    @GetMapping("/list")
    public Result getList() {
        return aiModelTypeService.getList();
    }

}
